package com.songlanyun.modules.article.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 文章课程关联表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-03-01 14:11:11
 */
@Data
@TableName("yxt_article_course")
public class ArticleCourse implements Serializable {
    private static final long serialVersionUID = 1L;

    public ArticleCourse() {
    }

    public ArticleCourse(Long articleId, Long courseId) {
        this.articleId = articleId;
        this.courseId = courseId;
    }

    /**
     *
     */
    @TableId
    private Long id;
    /**
     * 文章id
     */
    private Long articleId;
    /**
     * 课程id
     */
    private Long courseId;

}
